<?php 
$delete = !$this->delete ? true : $this->delete;
$image = $this->image;
echo '<div class="image">';
echo '<span class="preview"><a href="' . $image->getOriginal() . '" target="_blank">';
echo '<img src="' . $image->getThumb() . '" />';
echo '</a></span>';
if($delete) {
	echo '<div style="font-size:10pt;font-weight:bold;padding:5px 0 3px 0;">';
	echo '<input type="checkbox" name="deleteImage" id="deleteImage" value="1" />';
	echo '<label for="deleteImage" class="for-checkbox">' . $this->language()->load('Delete Image') . '</label>';
	echo '</div>';
}
echo '<input type="file" name="' . $this->name . '" id="' . $this->name . '" />';
echo '</div>';
?>
